<%--
  Created by IntelliJ IDEA.
  User: 小柒的Java
  Date: 2021/5/8
  Time: 19:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>通过JSON实现服务端与java之间的通信</title>
    <script type="text/javascript">
            /*获取传过来的值*/
            // 从request请求域中的到服务端传过来的数据
            var stuobj=${requestScope.key};
            // 传到客户端上
            window.alert("学员编号"+stuobj.uid+"学员姓名"+stuobj.uname)
    </script>
</head>
<body>

</body>
</html>
